package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
 import java.io.Serializable;
 /**
 * <p>
 * 系统设置的任务列表
 * </p>
 *
 * @author lian
 * @since 2016-12-22
 */
@TableName("sys_mission")
public class SysMission extends Model<SysMission> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 任务ID
	 */
	@TableId(value="mission_id",type = IdType.AUTO)
	private Integer missionId;
	/**
	 * 正在进行的人数
	 */
	private Integer headcount;
	/**
	 * 红檬健康币
	 */
	@TableField(value="hongmeng_coin")
	private Integer hongmengCoin;
	/**
	 * 任务名
	 */
	@TableField(value="mission_name")
	private String missionName;
	/**
	 * 计划类型ID
	 */
	@TableField(value="sys_plan_id")
	private Integer sysPlanId;
	/**
	 * 任务类型名字
	 */
	@TableField(value="mission_type_name")
	private String missionTypeName;
	/**
	 * 项目阶段
	 */
	@TableField(value="plan_stage")
	private Integer planStage;
 	public Integer getMissionId() {
		return missionId;
	}
 	public void setMissionId(Integer missionId) {
		this.missionId = missionId;
	}
 	public Integer getHeadcount() {
		return headcount;
	}
 	public void setHeadcount(Integer headcount) {
		this.headcount = headcount;
	}
 	public Integer getHongmengCoin() {
		return hongmengCoin;
	}
 	public void setHongmengCoin(Integer hongmengCoin) {
		this.hongmengCoin = hongmengCoin;
	}
 	public String getMissionName() {
		return missionName;
	}
 	public void setMissionName(String missionName) {
		this.missionName = missionName;
	}
 	public Integer getSysPlanId() {
		return sysPlanId;
	}
 	public void setSysPlanId(Integer sysPlanId) {
		this.sysPlanId = sysPlanId;
	}
 	public String getMissionTypeName() {
		return missionTypeName;
	}
 	public void setMissionTypeName(String missionTypeName) {
		this.missionTypeName = missionTypeName;
	}
 	public Integer getPlanStage() {
		return planStage;
	}
 	public void setPlanStage(Integer planStage) {
		this.planStage = planStage;
	}
	@Override
	protected Serializable pkVal() {
		return this.missionId;
	}
 }
